package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.common.core.domain.Ztree;
import com.ruoyi.system.domain.SysTrainStudent;

/**
 * 实训学员Service接口
 * 
 * @author ruoyi
 * @date 2025-01-06
 */
public interface ISysTrainStudentService 
{
    /**
     * 查询实训学员
     * 
     * @param studentId 实训学员主键
     * @return 实训学员
     */
    public SysTrainStudent selectSysTrainStudentByStudentId(Long studentId);

    /**
     * 查询实训学员列表
     * 
     * @param sysTrainStudent 实训学员
     * @return 实训学员集合
     */
    public List<SysTrainStudent> selectSysTrainStudentList(SysTrainStudent sysTrainStudent);

    public List<Ztree> selectTrainStudentTree(SysTrainStudent sysTrainStudent);
    /**
     * 新增实训学员
     * 
     * @param sysTrainStudent 实训学员
     * @return 结果
     */
    public int insertSysTrainStudent(SysTrainStudent sysTrainStudent);

    /**
     * 修改实训学员
     * 
     * @param sysTrainStudent 实训学员
     * @return 结果
     */
    public int updateSysTrainStudent(SysTrainStudent sysTrainStudent);

    /**
     * 批量删除实训学员
     * 
     * @param studentIds 需要删除的实训学员主键集合
     * @return 结果
     */
    public int deleteSysTrainStudentByStudentIds(String studentIds);

    /**
     * 删除实训学员信息
     * 
     * @param studentId 实训学员主键
     * @return 结果
     */
    public int deleteSysTrainStudentByStudentId(Long studentId);
}
